package com.yonyou.iuap.ipaas.connector.sdwcoatencent.api.model.core.response.save;

import com.yonyou.iuap.ipaas.connector.sdwcoatencent.api.model.core.response.Response;
import lombok.Data;

import java.io.Serializable;

@Data
public class SaveResponse extends Response implements Serializable {
    private static final long serialVersionUID = 1L;

    private String sourceUnique;

    private String targetUnique;


    public String toString() {
        return "SaveResponse(sourceUnique=" + getSourceUnique() + ", targetUnique=" + getTargetUnique() + ")";
    }

    public SaveResponse(String code, String message, Object data, String sourceUnique, String targetUnique) {
        super(code, message, data);
        this.sourceUnique = sourceUnique;
        this.targetUnique = targetUnique;
    }
}
